//
//  Grouble.h
//  庐山通
//
//  Created by mac22 on 14/10/18.
//  Copyright (c) 2014年 郑朝军. All rights reserved.
//

#ifndef ____Grouble_h
#define ____Grouble_h

// 3.自定义Log
#ifdef DEBUG
#define ZCJLog(...) NSLog(__VA_ARGS__)
#else
#define ZCJLog(...)
#endif

#import "UIImage+MJ.h"
#import "UIBarButtonItem+MJ.h"
#import "UIView+MJ.h"
#import "MJExtension.h"
#import "UIImageView+WebCache.h"
#import "MBProgressHUD+MJ.h"
#import "MyNavigation.h"

#define ScreenWidth [UIScreen mainScreen].bounds.size.width

#define ScreenHeight [UIScreen mainScreen].bounds.size.height
// 1.判断是否为iOS7
#define iOS7 ([[UIDevice currentDevice].systemVersion doubleValue] >= 7.0)

/** 表格的边框宽度 */
#define ZCJHomeTableBorder 5

// 2.获得RGB颜色
#define ZCJColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

// 图标的比例
#define IWTabBarButtonImageRatio 0.6
// 发现
#define HGURL @"http://v.higo.meilishuo.com/goods/goods_discover"
#define courenao @"https://api.deyi.com/fun/?page=1&perpage=10&guid=A0000037C46DE5&order=dateline&hash=652fc745438d1cd782149c17d4aa305dcb585574"


// 按钮的默认文字颜色
#define  IWTabBarButtonTitleColor (iOS7 ? [UIColor blackColor] : [UIColor whiteColor])
// 按钮的选中文字颜色
#define  IWTabBarButtonTitleSelectedColor (iOS7 ? ZCJColor(234, 103, 7) : ZCJColor(248, 139, 0))


/***
 --------------------------发现------------------------
 首页的头部和城市生活
 https://api.deyi.com/frontpage/hotspot/?page=1&ver=5&av=4.3.1&hash=dd595273078a4b6f1aa689cb4aaaebe748e32320
 
 头部的详情  tid不同
 https://api.deyi.com/thread/view/?tid=5958033&page=1&perpage=20&ver=5&device=android&noimg=1&hash=2c214fd00c9de0a6b6a69369b1ed695a5cecdc2b
 
 城市生活的详情  tid 不同
 https://api.deyi.com/thread/view/?tid=5955461&page=1&perpage=20&ver=5&device=android&noimg=1&hash=d06f10784f940cb6ef0df4053c4953278437ef99
 
 中间的每个小图标
 https://api.deyi.com/frontpage/updateimg/?device=andorid&ver=4&av=4.3.1&hash=0f18678c1999bc56c32193137a363366e7a3e19c
 打折优惠
 全部   最新  精华 digest=0 1 2
 https://api.deyi.com/forum/?fid=2&perpage=20&page=1&sort=desc&digest=0&hash=12d49ed9d05ae48d72b180fa46bd3fbbd616bd42
 
 跳蚤市场
 全部   最新  精华 digest=0 1 2
 https://api.deyi.com/forum/?fid=23&perpage=20&page=1&sort=desc&digest=0&hash=449628c8933d668a7e162f349af38fe8417aa47a
 
 房屋租赁
 
 全部   最新  精华 digest=0 1 2
 https://api.deyi.com/forum/?fid=33&perpage=20&page=1&sort=desc&digest=0&hash=1305c2cbd9d71231ea4e0bbd02d404786f7b3d2d
 
 母婴闲置
 全部   最新  精华 digest=0 1 2
 https://api.deyi.com/forum/?fid=62&perpage=20&page=1&sort=desc&digest=0&hash=93b4e4ff22644791ff06dc163ed27cf0bfaa77d4
 
 求职招聘
 全部   最新  精华 digest=0 1 2
 https://api.deyi.com/forum/?fid=32&perpage=20&page=1&sort=desc&digest=0&hash=109111dfc444e2b4ed69763c62877c55fff2f66c
 
 周末去哪玩
 http://api.deyi.com/welfare/web/list?p=625973394B686D777A4F61644661307639464D714939636731426C5475504A6343525864614F546130557279544B70553476395442413D3D
 https://api.deyi.com/thread/view/?tid=5960224&page=1&perpage=20&ver=5&device=android&noimg=1&hash=938642fdfa0d4585d31579b96e517046847d40f4
 详情
 https://api.deyi.com/thread/view/?tid=5961032&page=1&perpage=20&ver=5&device=android&noimg=1&hash=b85ea566bffd7a22fe674677584203a10916226e
 
 
 更多
 全部   最新  精华 digest=0 1 2
 https://api.deyi.com/forum/?fid=11&perpage=20&page=1&sort=desc&digest=0&hash=9a0e89155a78ac6804f573697635c2ff24a2801d
 
 
 --------------------------社区------------------------
 
 type=life生活类 type=shop 消费类
 https://api.deyi.com/forum/?ver=5&type=life&hash=91bc6c72032b41c771d836f1394c8e8612bd82c1
 
 
 最近浏览
 https://api.deyi.com/forum/fidhistory/?fid=1001,41,9,25,30,10&hash=de09abd6d2e31a25203b8e71f5cc104ae512239e
 
 生活杂谈/好吃佬.等
 fid=   来确定属于哪一类
 
 Page= 页
 digest=0 全部 digest=1最近   digest=2精华
 https://api.deyi.com/forum/?fid=25&perpage=20&page=1&sort=desc&digest=0&hash=3a19717737dcc9eeced0582fbaee1d777289f034
 
 tid=5962806  不同
 https://api.deyi.com/thread/view/?tid=5962806&page=1&perpage=20&ver=5&device=android&noimg=1&hash=48c96118436e0b56bdd8d394102422e056e10427
 
 用户信息   uid 不同
 https://api.deyi.com/mine/?uid=34136&ver=4&fuid=0&hash=0e13d96082552d97516eefb2138d369f4499d20a
 
 凑热闹  uid 不同
 https://api.deyi.com/fun/?uid=260090&perpage=10&page=1&ver=3&hash=278fb340329aed6a03da835166d9db9cbcf9ee7e
 
 发帖
 Ver>4时   返回-3 用户设置了隐私
 https://api.deyi.com/mine/thread/?myuid=260090&visituid=0&page=1&perpage=10&ver=4&hash=aa0682be99fd15a2062c363c80211bedead7e573
 
 回帖  Ver>4时   返回-3 用户设置了隐私
 https://api.deyi.com/mine/reply/?myuid=260090&visituid=0&page=1&perpage=10&ver=4&hash=aa0682be99fd15a2062c363c80211bedead7e573
 
 订阅
 https://api.deyi.com/user/subscribe/show/?uid=260090&type=0&page=1&hash=7854230f74c03403be134185cc632865425e80c7
 
 读者
 https://api.deyi.com/user/subscribe/show/?uid=260090&type=1&page=1&hash=1a9e9ee418d7aa6e02ee79cb4efead7e247d0e4b
 
 定位信息
 http://api.map.baidu.com/?x=116.363587&y=40.035734&qt=rgc&coordinate_type=11&im=863493020947209&imsi=null&os=Android17&prod=loc&resid=11&oem=xiaomi&channel=1269e
 
 
 -------------------------凑热闹----------------------
 全部 - 		https://api.deyi.com/fun/?page=1&perpage=10&guid=A0000037C46DE5&hash=6e18a9803c8b761f8f768f2414a9127f0912f746
 
 全部 - 详情 –
 https://api.deyi.com/thread/view/?tid=5882735&page=1&perpage=20&ver=5&device=android&noimg=1
 
 今日更新  -
 https://api.deyi.com/fun/?page=1&perpage=10&guid=A0000037C46DE5&order=dateline&hash=652fc745438d1cd782149c17d4aa305dcb585574
 
 今日更新 - 详情 –
 https://api.deyi.com/thread/view/?tid=5885565&page=1&perpage=20&ver=5&device=android&noimg=1
 
 TOP100 - https://api.deyi.com/fun/topthread/?page=1&perpage=10&guid=A0000037C46DE5&hash=6e18a9803c8b761f8f768f2414a9127f0912f746
 
 TOP100 - 详情 –
 https://api.deyi.com/thread/view/?tid=5876879&page=1&perpage=20&ver=5&device=android&noimg=1
 
 --------------------------订阅------------------------
 我的订阅
 https://api.deyi.com/user/subscribe/?uid=668814&page=1&hash=c45fc75465adc9e33eea0e2cecae27d81f0d9c93
 
 我的订阅==详情
 https://api.deyi.com/thread/view/?tid=5949823&page=1&perpage=20&ver=5&meuid=668814&device=android&noimg=1&hash=282f927ad82c638830fc2286d009df9ff9c6c4dc
 最新f发帖
 https://api.deyi.com/forum/reply/?perpage=20&page=1&hash=9826c6bf2ab099081192b67459d8137a36264023
 最新f发帖==详情
 
 https://api.deyi.com/thread/view/?tid=5966314&page=1&perpage=20&ver=5&meuid=668814&device=android&noimg=1&hash=c489a9187bed11ceebda64f218b6d15b01d1b1a7
 
 最新回复
 https://api.deyi.com/forum/reply/?perpage=20&page=2&hash=cd3229389bd89d40fed30cbafa4c0909f7f8ce0b
 
 最新回复---详情
 https://api.deyi.com/thread/view/?tid=5966497&page=1&perpage=20&ver=5&meuid=668814&device=android&noimg=1&hash=c23759738f8f64bbf50093297b99afb4a5a0758e
 最新回复---详情
 https://api.deyi.com/thread/view/?tid=5966655&page=1&perpage=20&ver=5&meuid=668814&device=android&noimg=1&hash=659e78f37a1c592664f3cb2ec13c9f96d83b8ac5
 
 https://api.deyi.com/thread/view/?tid=5966573&page=1&perpage=20&ver=5&meuid=668814&device=android&noimg=1&hash=04f5b66e5f01642c7915c27faf0d8f03c8869ae6
 
 **/
#endif
